﻿using UnityEngine;
using System.Collections;

public class StartMenu : SingleWindow<StartMenu> 
{
    UIButton Begin;
    void Start() 
    {
        Begin = Util.Find<UIButton>(gameObject, "Begin");
        UIEventListener.Get(Begin).onClick += OnBeginClick;
	}

    void OnExitClick(GameObject go)
    {
    }

    void OnBeginClick(GameObject go)
    {
        Hide();

        Category.Instance.Show();
    }

	void Update () 
    {
	
	}
}
